﻿using Microsoft.Extensions.Logging;
using Quartz;

namespace AntUnion.FrameWork.Web.Quarzs
{
    [DisallowConcurrentExecution]
    public class PublishJob : IJob
    {
        private readonly ILogger<PublishJob> _logger;
        public PublishJob(ILogger<PublishJob> logger)
        {
            _logger = logger;
        }

        private static object execute = new object();

        public System.Threading.Tasks.Task Execute(IJobExecutionContext context)
        {
            return System.Threading.Tasks.Task.CompletedTask;
        }

    }
}
